<h4><{$album_title}></h4>
<p><{$album_desc}></p>

<{$javascript}>

<!-- Top Nav Bar -->
<table border="0" width="100%" class="outer" cellspacing="0">
  <tr>
    <td align="right" class="even">
      <{$breadcrumb}>&nbsp&nbsp;&raquo;&nbsp;&nbsp;<font color="#990000"><{$breadfocusbox}></font> </td>
  </tr>
  <tr>
  	<td align="center" class="odd"><{$lang_page}>
  	<{foreach item=nav from=$navLinks}>
		<{if $nav.url != "" }>
			<a href="<{$nav.url}>" title="Page <{$nav.page}>">&nbsp;<{$nav.page}>&nbsp;</a>
		<{else}>
        	&nbsp;<{$nav.leftdot}> <strong><{$nav.page}></strong> <{$nav.rightdot}>&nbsp;
		<{/if}>
	<{/foreach}>
  	</td>
  </tr>
</table>

<table border="0" width="100%">
  <tr> 
  <td align="right"> 
	  <{$statsbox}>
	  <br />
      <{if ($adminHasCommands) }>
	    <{$adminbox}>
      <{/if}>
      <b><{$slideshowbox}></b>
    </td>
  </tr>
</table>


<!-- image grid table -->

<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
<td width="50%">&nbsp;</td>
<td>

	<table width="100%" border="0" cellspacing="0" cellpadding="7px">
	<{foreach item=row from=$picturerows}>
	  <tr>
	    <{section name=i loop=$row.pictures}>
	      <td style="text-align: center; vertical-align: middle; padding: 20px 20px 0 20px;">
	        <a href="<{$row.pictures[i].link}>"><{$row.pictures[i].image}></a>
	      </td>
	    <{/section}>
	  </tr>
	  <tr>
	    <{section name=i loop=$row.captions}>
	      <td style="text-align:center; padding: 0 20px 0 20px;">
	        <b><{$row.captions[i].title}></b> <{$row.captions[i].status}><{$row.captions[i].description}><br />
	      </td>
	    <{/section}>
	  </tr>
	  <tr>
	    <{section name=i loop=$row.captions}>
	      <td style="text-align:center; padding: 0 20px 20px 20px;">
	        <table class="outer" width="150" border="0" cellspacing="1">
	          <tr>
	            <td nowrap class="head"><{$lang_lastupdate}></td><td nowrap class="even"><{$row.captions[i].last_update}></td>
	          </tr>
	          <{if $row.captions[i].num_items != ""}>
	          <tr>
	            <td class="head"><{$lang_items}></td><td class="even"><{$row.captions[i].num_items}></td>
	          </tr>
	          <{/if}>
	          <{if $row.captions[i].num_comments != ""}>
	          <tr>
	            <td class="head"><{$lang_comments}></td><td class="even"><{$row.captions[i].num_comments}></td>
	          </tr>
	          <{/if}>
	          <{if $row.captions[i].num_views != ""}>
	          <tr>
	            <td class="head"><{$lang_views}></td><td class="even"><{$row.captions[i].num_views}></td>
	          </tr>
	          <{/if}>
	        </table>
	        <{$row.adminforms[i]}>
	      </td>
	    <{/section}>
	  </tr>
	  
	<{/foreach}>
	</table>
</td>
<td width="50%">&nbsp;</td>
</table>

<!-- bottom nav -->
<table border="0" width="100%">
  <tr> 
    <td align="right"> 
	  <{if ($adminHasCommands) }>
	   <br />
       <{$adminbox}>
      <{/if}>
      <b><{$slideshowbox}></b>
	  <br />
      <{$statsbox}>
    </td>
  </tr>
</table>
<table border="0" width="100%" class="outer" cellspacing="0">
  <tr>
  	<td align="center" class="odd"><{$lang_page}> 
  	<{foreach item=nav from=$navLinks}>
		<{if $nav.url != "" }>
			<a href="<{$nav.url}>" title="Page <{$nav.page}>">&nbsp;<{$nav.page}>&nbsp;</a>
		<{else}>
        	&nbsp;<{$nav.leftdot}> <strong><{$nav.page}></strong> <{$nav.rightdot}>&nbsp;
		<{/if}>
	<{/foreach}>
  	</td>
  </tr>
  <tr>
    <td align="right" class="even"> <{$breadcrumb}>&nbsp&nbsp;&raquo;&nbsp;&nbsp;<font color="#990000"><{$breadfocusbox}></font> </td>
  </tr>
</table>

<table border="0" width="100%">
  <tr>
	<td> 
	<!-- The Gallery code version number, linked to the Gallery home page -->
	<span style="font-size: 8px;"> Powered by 
	<a href="http://www.xoopsgallery.org/" target="_blank" style="font-size: 8px">XoopsGallery</a> v<{$gallery_version}><br />
	Ported from <a href="http://gallery.sf.net/" target="_blank" style="font-size: 8px">Gallery</a> 
	</span> 
	</td>
  </tr>
</table>
